#include<iostream>

#include<errno.h>

#include"func.h"

using namespace std;

int main()
{
    cout << myadd(1, 1) << endl;

    int ret = mydiv(4, 2);
    cout << ret << endl;
    ret = mydiv(0, 2);
    cout << ret << endl;
    cout << errno << endl;
    return 0;
}